import '@/assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import App from '@/App.vue'
import router from '@/router'
import { mountUI } from '@/components'

const pinia = createPinia();
/* 状态持久化 */
pinia.use(piniaPluginPersistedstate);

const app = createApp(App)
app.use(pinia)
app.use(router)

mountUI(app)

app.mount('#app')
